Skip to content

Conversation

@giuliastf
Copy link
Collaborator

This pull request introduces improved error handling and code clarity for MCP runtime errors by introducing a dedicated McpErrorCode enum and updating the exception handling to use structured error codes. It also updates the uipath dependency version for compatibility.

Error handling improvements:

  • Introduced a new McpErrorCode enum in src/uipath_mcp/_cli/_runtime/_exception.py to provide structured, descriptive error codes for MCP-specific errors and updated all relevant exception raises in src/uipath_mcp/_cli/_runtime/_runtime.py to use this enum instead of plain strings.
    Dependency updates:

  • Updated the uipath dependency version in pyproject.toml to require uipath>=2.1.108, <2.2.0 for improved compatibility and stability.

@giuliastf giuliastf requested review from cristipufu and radu-mocanu and removed request for cristipufu October 24, 2025 17:00
@giuliastf giuliastf merged commit b6e14fb into main Oct 24, 2025
10 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants